package com.iemp.web.controller.base.impl;

import com.iemp.bean.IEntity;
import com.iemp.service.base.AbstractListService;
import com.iemp.service.base.AbstractService;
import com.iemp.web.controller.base.IListController;

import java.util.List;

public class ListBaseController<E extends IEntity> extends BaseController<E, AbstractListService<E>> implements IListController<E> {


    public ListBaseController(AbstractListService<E> genericService) {
        super(genericService);
    }

    @Override
    public List<E> findAllByList() {
        return genericService.findAllByList();
    }

}
